
package com.zsrt.jmj.teacher.service;

import java.util.Map;

import com.zsrt.jmj.teacher.entity.TeacherEntity;

public interface TeacherService {

	/**
	 * 插入老师
	 */
	void add(TeacherEntity entity, Map<String, Object> map);

	/**
	 * 查询教师记录
	 * @param map
	 */
	void findAllTeachers(Map<String, Object> map);

	/**
	 * 根据ID修改教师信息
	 * @param entity
	 * @param map
	 */
	void updateById(TeacherEntity entity, Map<String, Object> map);

	/**
	 * 查找记录根据ID
	 * @param id
	 * @param map
	 */
	void findTeacherById(String id, Map<String, Object> map);

	/**
	 * 批量删除
	 * @param ids
	 * @param map
	 */
	void deleteByIds(String ids, Map<String, Object> map);

	
}
